﻿using System.ServiceModel;
using System.ServiceModel.Web;
using AdventureWorks.DataAccess.Utils;
using AdventureWorks.Domain;
namespace AdventureWorks.Services
{
    [ServiceContract]
    public interface ISpecialOfferService
    {
        [WebGet(UriTemplate = "/specialOffer?category={category}&type={type}", ResponseFormat = WebMessageFormat.Json)]
        PagedResult<SpecialOffer> GetSpecialOffers(string category, string type);
    }
}
